<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: owen
  Date: 2017/4/7
  Time: 16:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="side.jsp"/>
<jsp:include page="easyui.jsp"/>
<html>
<head>
    <title>编辑产品类型</title>
</head>
<body>
<h1>编辑产品类型</h1>
<form:form commandName="productType" action="productType_edit" method="post">
    <fieldset>
        <legend>update productType</legend>
        <label for="t">大类</label>
        <form:select id="t" path="parentid" items="${productTypeList}"
                     itemLabel="name" itemValue="typeid"/>
        <label for="name">名称</label>
        <form:input path="name" typeid="name"/>
        <label for="remark">备注</label>
        <form:input path="remark" typeid="remark"/>
    </fieldset>
    <p typeid="buttons">
        <input typeid="清空" type="reset" tabindex="4">
        <input typeid="提交" type="submit" tabindex="5" value="修改">
    </p>
</form:form>

</body>
</html>
